package com.teamclub.domain.erp.goods;

import io.ebean.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;
import java.math.BigDecimal;
import java.util.Date;

@Entity
@Table(name = "erp_goods")
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Data
public class Goods extends Model {
    @Id
    private Integer id;
    private String organNo;
    private String name;
    private String image;
    private BigDecimal price;
    private String goodsDesc;
    @Version
    private Date modifyTime;
}
